package com.itheima.thread.api.demo04;

public class MyThread extends Thread {

    @Override
    public void run() {
        for (int i = 0; i < 50; i++) {
            System.out.println(Thread.currentThread().getName());

            Thread.yield();
        }
    }
}
